﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CNTestApp
{
    public partial class Form_Closing : Form
    {
        public Form_Closing()
        {
            InitializeComponent();
        }

        public void update(string strMessage, int iProgress)
        {
            lblLabel.Text = strMessage;
            ctrlProgressBar.Value = iProgress;
            Application.DoEvents();
        }

    }
}
